package com.ctshk.rpc.airexpress.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 产品加幅策略规则表
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-02-05
 */
@Data
@TableName("t_airport_express_increase_strategy_rule")
@ApiModel(value="AirportExpressIncreaseStrategyRule对象", description="产品加幅策略规则表")
public class AirportExpressIncreaseStrategyRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "加幅策略id")
    private Long increaseStrategyId;

    @ApiModelProperty(value = "成人单程价格类型")
    private Integer adultOneWayPriceType;

    @ApiModelProperty(value = "成人单程价格")
    private BigDecimal adultOneWayPrice;

    @ApiModelProperty(value = "成人往返价格类型")
    private Integer adultRoundTripPriceType;

    @ApiModelProperty(value = "成人往返价格")
    private BigDecimal adultRoundTripPrice;

    @ApiModelProperty(value = "小童单程价格类别")
    private Integer childrenOneWayPriceType;

    @ApiModelProperty(value = "小童单程价格")
    private BigDecimal childrenOneWayPrice;

    @ApiModelProperty(value = "可售类型")
    private Integer saleableType;

    @ApiModelProperty(value = "最大可售数量")
    private Integer saleableNumber;

    @ApiModelProperty(value = "已售数量")
    private Integer soldNumber;

    @ApiModelProperty(value = "自定义id")
    private Long customId;

}
